package com.neuedu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ec_stock")
public class Stock {
    @TableId(type = IdType.AUTO)
    @IsAutoIncrement
    @Column(comment = "库存id")
    private Integer sid;
    @Column(comment = "商品名称")
    private String pname;
    @Column(comment = "库存")
    private Integer stock;
    @Column(comment = "备注")
    private String remark;
    @Column(comment = "")
    private String quantity;
}
